if __name__ == "__main__":
	_visited_hotels_ = []
	_known_hotels_ = []
	_hotel_buffer_ = []
	_known_reviews_ = []
	_review_buffer_ = []
	_visited_reviews_ = []
	_locations_ = ["/Hotels-g189413-Crete-Hotels.html"]
	_information_ = []
	with open('visited_hotels.txt', 'r') as vh:
		for link in vh:
			_visited_hotels_.append(link.strip("\n"))
	with open('known_hotels.txt', 'r') as kh:
		for link in kh:
			_known_hotels_.append(link.strip("\n"))
	with open('buffer_hotels.txt', 'r') as hb:
		for link in hb:
			_known_hotels_.append(link.strip("\n"))
	with open('visited_reviews.txt', 'r') as vr:
		for link in vr:
			_visited_reviews_.append(link.strip("\n"))
	with open('known_reviews.txt', 'r') as kr:
		for link in kr:
			_known_reviews_.append(link.strip("\n"))
	with open('buffer_reviews.txt', 'r') as rb:
		for link in rb:
			_known_reviews_.append(link.strip("\n"))
	print "visited hotels " + str(len(_visited_hotels_)) + " and known hotels " + str(len(_known_hotels_))
	for item in _visited_hotels_:
		if item in _known_hotels_:
			print item
	print "visited reviews " + str(len(_visited_reviews_)) + " and known reviews " + str(len(_known_reviews_))
	for item in _visited_reviews_:
		if item in _known_reviews_:
			print item

